<!DOCTYPE html>
<style>
.list{display:list-item;}
.float{float:right;}
</style>
<ruby>
    crbug.com/619380: Passes if it does not crash.
    <rt>
    <rtc>
    <a class="list">
        <input class="float">
    </rtc>
</rt>
</ruby>
<script>
    if (window.testRunner)
          testRunner.dumpAsText();
    document.execCommand("SelectAll");
    window.getSelection().deleteFromDocument();
</script>
